package com.pxst.fi.req;

import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/** 
* @author yangxy
* @version 创建时间：2023年9月7日 下午2:52:13 
*/
@Data
public class FiCreateOrderReq {
	@NotNull(message = "商户ID不能为空")
	@ApiModelProperty(value = "商户ID",required = true)
	private Long merchantId;

	@NotBlank(message = "订单充值类型不能为空")
	@ApiModelProperty(value = "订单充值类型",required = true)
	private String order_type;

	@NotNull(message = "订单提交金额不能为空")
	@ApiModelProperty(value = "订单提交金额",required = true)
	private BigDecimal request_amount;

	@NotBlank(message = "商户订单号不能为空")
	@ApiModelProperty(value = "商户订单号",required = true)
	private String reference;

	@ApiModelProperty(value = "异步通知地址")
	private String notify_url;

	@ApiModelProperty(value = "备注")
	private String note;
	
	@ApiModelProperty(value = "银行代码(订单类型为100时不能为空)")
	private String from_bank;
	
	@ApiModelProperty(value = "生成的随机金额",hidden = true)
	private BigDecimal newAmount;
}
